package edu.regiscollege.cs312.site;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@SuppressWarnings("serial")
public class HelloWorld7 extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException {
		PrintWriter writer = resp.getWriter();
		writer.println("<html>");
		writer.println("<head>");
		writer.println("<title>Hello World 2</title>");
		writer.println("</head>");
		writer.println("<body>");
		writer
				.println("<center><img src=\"http://www.htmliseasy.com/about_gifs/hello_world.gif\" ></center>");

		writer.println("</body>");
		writer.println("</html>");
	}
}